package com.api.shopapi.service;

import com.api.shopapi.entity.GoodsSizeRemark;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsSizeRemarkService {

    int insert(GoodsSizeRemark goodsSizeRemark);

    int update(GoodsSizeRemark goodsSizeRemark);

    int delete(String goodsSizeRemarkCode);

    GoodsSizeRemark getByGoodsSizeRemarkCode(String goodsSizeRemarkCode);

    List<GoodsSizeRemark> getList(String businessCode);

    PageInfo<GoodsSizeRemark> getPageList(int pageIndex,int pageSize,String name,String businessCode);

}
